@echo off
echo Cleaning build directory...
if exist "build" (
    del /q "build\*.exe" >nul 2>&1
    echo Deleted .exe files in build directory
    rd /q "build" >nul 2>&1
    if exist "build" (
        echo Build directory is not empty or in use
    ) else (
        echo Build directory deleted
    )
) else (
    echo Build directory does not exist
)
echo Cleanup complete.